main(List<String> args) {
  var flag = "abc".isNotEmpty;

  if (flag) {
    print("执行代码");
  }

  String name = "'T Berghof.";
  String p = "\'|\.|\"";

  String p1 = "/[-,.?:;"'!`]/";

  print(p);
  print("name: $name");
  String str = r"/\'|\./";
  print(str);
  String pattern = str.substring(1, str.length - 1);
  print(pattern);
  RegExp r = RegExp("$pattern");

  print(r.pattern);

  print(name.replaceAllMapped(r, (match) {
    print(match.group(0));
    return "";
  }));



  reg = reg.replaceAll(r"\\", r"\").replaceAll("/", "");
  // flog("reg========$reg");
  RegExp r = RegExp(reg);
}